package com.tianzehua.jvm.classloader;

/**
 * 常量类测试MyTest2
 */
public class MyTest2 {
    public static void main(String[] args) {
        System.out.println(MyParent2.src1);
    }
}

class MyParent2 {
    public static final String src1 = "hello !";
    static {
        System.out.println("parent ");
    }
}
